<?php


require 'database.php';

$base=new Db;


$id=$_POST['id'];


$__ad__=$base->doSql('select * from ey_ad where id="'.$id.'"');

$__ad__=$__ad__[0];

return json($__ad__);